﻿<Window x:Class="OpenTKLightingTool.Forms.LightingToolWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ctrl="clr-namespace:OpenTKLightingTool.Controls"
        Title="Ignitron Lighting Tool" Height="640" Width="500" MinHeight="600" MinWidth="500"
               

        >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="100" />                              
        </Grid.ColumnDefinitions>
        
        <ctrl:LightingControl x:Name="uxLighting" Grid.Row="0" Margin="3" />

        <TabControl x:Name="uxTabs" Grid.Row="1">
            <TabItem Header="Materials">
                <ctrl:MaterialList x:Name="uxMaterials" Margin="3" />
            </TabItem>
            <TabItem Header="Lights">
                <ctrl:LightsList x:Name="uxLights" Margin="3" />
            </TabItem>           
        </TabControl>                          
        
        <StackPanel Grid.Row="0" Grid.Column="1" Grid.RowSpan="2">
            <Button x:Name="uxRender" Margin="5,10,5,5">Render</Button>
            <Button x:Name="uxImport" Margin="5">Import</Button>
            <Button x:Name="uxExport" Margin="5">Export</Button>
            
            <ctrl:AxesControl x:Name="uxAxesSystem" Margin="5,10,5,5" />
        </StackPanel>
    </Grid>
</Window>
